Skip to content

Fix incorrect Py_XDECREF/Py_DECREF call on stolen reference after PyList_SetItem failure#885

Merged
ntamas merged 8 commits intoigraph:mainfrom
wr-web:fix-RC
May 10, 2026
Merged

Fix incorrect Py_XDECREF/Py_DECREF call on stolen reference after PyList_SetItem failure#885
ntamas merged 8 commits intoigraph:mainfrom
wr-web:fix-RC

Conversation

@wr-web
Copy link
Copy Markdown
Contributor

@wr-web wr-web commented May 10, 2026

  • By submitting this pull request, I assign the copyright of my contribution to The igraph development team.

Close #884

Copy link
Copy Markdown
Member

@ntamas ntamas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Merging upon CI pass.

@ntamas ntamas merged commit 04828ff into igraph:main May 10, 2026
7 of 11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Reference Counting (Use-After-Free) Bugs for PyList_SetItem

2 participants